package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.AlivepriceDao;
import io.renren.modules.generator.entity.AlivepriceEntity;
import io.renren.modules.generator.service.AlivepriceService;



@Service("alivepriceService")
public class AlivepriceServiceImpl implements AlivepriceService {
	@Autowired
	private AlivepriceDao alivepriceDao;
	
	@Override
	public AlivepriceEntity queryObject(Integer id){
		return alivepriceDao.queryObject(id);
	}
	
	@Override
	public List<AlivepriceEntity> queryList(Map<String, Object> map){
		return alivepriceDao.queryList(map);
	}
	@Override
	public List<AlivepriceEntity> timeList(Map<String, Object> map){return alivepriceDao.timeList(map);}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return alivepriceDao.queryTotal(map);
	}
	@Override
	public int timeTotal(Map<String, Object> map){
		return alivepriceDao.timeTotal(map);
	}
	
	@Override
	public void save(AlivepriceEntity aliveprice){
		alivepriceDao.save(aliveprice);
	}
	
	@Override
	public void update(AlivepriceEntity aliveprice){
		alivepriceDao.update(aliveprice);
	}
	
	@Override
	public void delete(Integer id){
		alivepriceDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		alivepriceDao.deleteBatch(ids);
	}
	
}
